package com.burce.controller;

import com.burce.service.UserService;
import com.burce.service.impl.UserServiceImpl;
import org.springframework.annotation.Autowired;
import org.springframework.annotation.Controller;
import org.springframework.annotation.Service;

@Controller(value = "nihao")
public class UserController {
    @Autowired
    UserServiceImpl userService;

    public int testAddUser(){
        System.out.println("控制层方法执行");
        return userService.addUser();
    }
}
